using System;
using System.Collections.Generic;
using System.Text;

namespace Coriander.Xmpp.Xmpp.Model.Generic
{
    /// <summary>
    /// 
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IResponseParser<T> where T : class
    {
        /// <summary>
        /// Parses the supplied text value.
        /// </summary>
        /// <param name="serialized"></param>
        /// <returns></returns>
        T Parse(String serialized);
    }
}
